package com.hyacinth.lotterysystem.common.errocde;

import lombok.Data;

/**
 * 错误码
 *
 * @Author: Yun
 * @Date: 2025/6/10
 */
@Data
public class ErrorCode {

    // 错误码
    private final Integer code;
    // 错误描述
    private final String msg;

    public ErrorCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
